.container{
    display:grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    width: 300px;
    height: 300px;
    border: 1px solid;
}
.item{
    border: 1px solid red;
}
